<?

class PageEditor {

	function PageEditor(){
		return $this;
	}
	
	public function GetSubpages($page_id){
		global $tables;
		$sql = "SELECT page_result,page_template,page_href,page_title,page_id, page_menu_img  FROM ".$tables['pages']." WHERE parent_id='".$page_id."'";

		return get_as_array($sql);
	}
}

?>